CustomMultilineTextWidget
class CustomMultilineTextWidget @JvmOverloads constructor(message: Text, lineHeight: Int = 9, topPadding: Int = 0, bottomPadding: Int = topPadding) : AbstractTextWidget
Multiline text widget that aligns its text to the left and has a resizable width.
Author
fzzyhmstrs
Since
0.6.0
Parameters
message
Text the text to split and display
lineHeight
space between lines, default 9 (MC standard)
topPadding
pixels of padding above the text. Will add to the widget's height.
bottomPadding
pixels of padding below the text. Will add to the widget's height.
Constructors
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard